<div class="modal fade" id="edit-IP-purchaseModal" style="">
    <div class="modal-dialog">
        <form action="{{url('user/ip/editIpPay')}}" method="post" enctype="multipart/form-data">
            {{ csrf_field() }}
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span></button>
                    <h3 class="modal-title" style="text-align: center">修改购买</h3>
                </div>
                <div class="modal-body">
                    <input type="hidden" id="hide_id" name="hide_id">
                    <div class="row" style="margin-top: 2%">
                        <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 col-lg-offset-2 col-md-offset-2">
                            <input type="text" class="form-control" placeholder="名称" id="edit_name" name="edit_name" style="border-radius: 5px">
                        </div>
                    </div>
                    <div class="row" style="margin-top: 2%">
                        <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 col-lg-offset-2 col-md-offset-2">
                            <select class="form-control" style="border-radius: 5px" id="edit_first_type" name="edit_first_type" onchange="editGetType($(this));">
                                <option value="-1">类型</option>
                                @foreach($first_type as $k =>$v)
                                    <option value="{{$v['id']}}">{{$v['name']}}</option>
                                @endforeach
                            </select>
                        </div>
                    </div>
                    <div class="row" style="margin-top: 2%">
                        <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 col-lg-offset-2 col-md-offset-2">
                            <select class="form-control" style="border-radius: 5px" id="edit_second_type" name="edit_second_type">
                                <option value="-1">类别</option>
                            </select>
                        </div>
                    </div>
                    <div class="row" style="margin-top: 2%">
                        <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 col-lg-offset-2 col-md-offset-2">
                            <select class="form-control" style="border-radius: 5px" id="edit_is_authorize" name="edit_is_authorize">
                                <option value="-1">是否可加价</option>
                                <option value="1">可以</option>
                                <option value="0">不可以</option>
                            </select>
                        </div>
                    </div>
                    <div class="row" style="margin-top: 2%">
                        <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 col-lg-offset-2 col-md-offset-2">
                            <select class="form-control" style="border-radius: 5px" id="edit_progress" name="edit_progress">
                                <option value="-1">进度</option>
                                @foreach(config('config.buyIP_progress') as $k=>$v)
                                    <option value={{$k+1}}>{{$v}}</option>
                                @endforeach
                            </select>
                        </div>
                    </div>
                    <div class="row" style="margin-top: 2%">
                        <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 col-lg-offset-2 col-md-offset-2">
                            <input type="text" class="form-control" placeholder="最低出价" id="edit_lowest_price" name="edit_lowest_price" style="border-radius: 5px">
                        </div>
                    </div>
                    <div class="row" style="margin-top: 2%">
                        <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 col-lg-offset-2 col-md-offset-2">
                            <textarea class="form-control" rows="3" id="edit_supplement" name="edit_supplement" style="border-radius: 5px" placeholder="补充备注">补充备注</textarea>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <div class="row">
                        <div class="col-lg-8 col-md-8 col-lg-offset-2 col-md-offset-2 ">
                            <button type="submit" class="btn btn-primary" style="background-color: #0080ff;border: #0080ff;width: 100%">确定
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>

